Diagnostic system for a vehicle electrical system

ABSTRACT

A diagnostic system for a vehicle electrical system having a first and second diagnostic application is provided. The first diagnostic application commands a high side driver circuit and a low side driver circuit to transition a contactor to an open operational position when a first difference value is greater than a first threshold difference value indicating that at least one of the first and second analog multiplexers is malfunctioning. The second diagnostic application commanding the high side driver circuit and the low side driver circuit to transition the contactor to the open operational position when a second difference value is greater than the first threshold difference value indicating that at least one of the first and second analog multiplexers is malfunctioning.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to U.S. Provisional Patent Application No. 62/500,816 filed on May 3, 2017, the entire contents of which are hereby incorporated by reference herein.

BACKGROUND

The inventors herein have recognized a need for an improved diagnostic system for a vehicle electrical system that utilizes first and second diagnostic applications that can each transition a contactor to an open operational position if at least one of the first and second analog multiplexers are malfunctioning.

SUMMARY

A diagnostic system for a vehicle electrical system in accordance with an exemplary embodiment is provided. The vehicle electrical system has a battery module, a contactor, a high side driver circuit, a low side driver circuit, and a voltage regulator. The voltage regulator outputs a first voltage. The diagnostic system includes a voltage clamping circuit outputting a second voltage in response to the first voltage. The diagnostic system further includes a first analog multiplexer having an input port that receives the second voltage from the voltage clamping circuit. The diagnostic system further includes a second analog multiplexer having an input port that receives the first voltage from the voltage regulator. The diagnostic system further includes an analog-to-digital converter that is electrically coupled to an output port of the first analog multiplexer and an output port of the second analog multiplexer. The analog-to-digital converter is further electrically coupled to a microcontroller. The analog-to-digital converter receives the first and second voltages at first and second times, respectively, and outputs first and second voltage values, respectively, based on the first and second voltages, respectively, that are received by a microcontroller. The microcontroller has a first diagnostic application and a second diagnostic application. The first diagnostic application receives the first voltage value from the analog-to-digital converter, and the second voltage value from the second diagnostic application. The first diagnostic application determines a first difference value based on the first and second voltage values. The first diagnostic application commands the high side driver circuit and the low side driver circuit to transition a contact of the contactor to an open operational position when the first difference value is greater than a first threshold difference value indicating that at least one of the first and second analog multiplexers is malfunctioning.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A and 1B are schematics of a vehicle having a vehicle electrical system and a diagnostic system in accordance with an exemplary embodiment; and

FIGS. 2-4 is a flowchart of a diagnostic method utilized by the diagnostic system of FIGS. 1A and 1B.

DETAILED DESCRIPTION

Referring to FIGS. 1A and 1B, a vehicle 10 is provided. The vehicle 10 includes a vehicle electrical system 30, and a diagnostic system 40 in accordance with an exemplary embodiment.

The vehicle electrical system 30 includes a battery module 60, a contactor 70, a high side driver circuit 80, a low side driver circuit 82, electrical lines 100, 102, 104, 106, 107, 108, a voltage regulator 110, and a voltage regulator 112.

An advantage of the diagnostic system 40 is that the system 40 utilizes first and second diagnostic applications that can each transition the contactor 70 to an open operational position if at least one of the first and second analog multiplexers 301, 302 are malfunctioning.

For purposes of understanding, a node is a region or a location in an electrical circuit.

The term “substantially” means±5% of a value herein.

The battery module 60 includes a positive terminal 180 and a negative terminal 182. In an exemplary embodiment, the battery module 60 generates substantially 48 Vdc between the positive terminal 180 and the negative terminal 182. The positive terminal 180 is electrically coupled to a node 234 of the contactor 70. The negative terminal 182 is electrically coupled to electrical ground.

The contactor 70 has a contact 230, a contactor coil 232, a first node 234, and a second node 236. The first node 234 is electrically coupled to the positive terminal 180 of the battery module 60 utilizing the electrical line 100. The second node 236 is electrically coupled to the electrical load 90 utilizing the electrical line 106. When the microcontroller 314 generates first and second control signals that are received by the high side driver circuit 80 and the low side driver circuit 82, respectively, the contactor coil 232 is energized which transitions the contact 230 to a closed operational state. Alternately, when the microcontroller 314 generates third and fourth control signals that are received by the high side driver circuit 80 and the low side driver circuit 82, respectively, the contactor coil 232 is de-energized which transitions the contact 230 to an open operational state. In an exemplary embodiment, the third and fourth control signals can each be a ground voltage level.

The high side driver circuit 80 and the low side driver circuit 82 are provided to energize or de-energize the contactor coil 232. The high side driver circuit 80 is electrically coupled to the microcontroller 314 utilizing the electrical line 107. The high side driver circuit 80 is further electrically coupled to a first end of the contactor coil 232 utilizing the electrical line 102. The high side driver circuit 80 energizes the contactor coil 232, when the high side driver circuit 80 receives a control signal from the microcontroller 314.

The low side driver circuit 82 is electrically coupled to the microcontroller 314 utilizing the electrical line 108. The low side driver circuit 82 is further electrically coupled to a second end of the contactor coil 232 utilizing the electrical line 104. The low side driver circuit 82 is configured to conduct an electrical current therethrough to the electrical ground for energizing the contactor coil 232, when the low side driver circuit 82 receives a control signal from the microcontroller 314.

The electrical load 90 is electrically coupled to the second node 236 of the contactor 70. When the contactor 70 has a closed operational position, a positive voltage from the battery module 60 is applied to the electrical load 90 for energizing the electrical load 90. When the contactor 70 has an open operational position, the positive voltage from the battery module 60 is removed from the electrical load 90 which de-energizes the electrical load 90.

The voltage regulator 110 has an output terminal that outputs a first voltage (e.g., substantially 3.3 Vdc) therefrom. The output terminal of the voltage regulator 110 is electrically coupled to the input port IN1_2 of the second analog multiplexer 302, and to the voltage divider circuit 286, and to the voltage clamping circuit 282, which each receive the first voltage from the output terminal of the voltage regulator 110. The output terminal of the voltage regulator 110 is further electrically coupled to the microcontroller 314.

The voltage regulator 112 has an output terminal that outputs a second voltage (e.g., substantially 5.0 Vdc) therefrom. The output terminal of the voltage regulator 112 is electrically coupled to the input port IN3_1 of the first analog multiplexer 301, and to the voltage divider circuit 294, and to the voltage diver circuit 298, which each receive the second voltage from the output terminal of the voltage regulator 112.

The diagnostic system 40 includes a high side voltage measuring circuit 270, a low side current measuring circuit 274, a voltage clamping circuit 282, a voltage divider circuit 286, a voltage divider circuit 294, a voltage divider circuit 298, a first analog multiplexer 301, a second analog multiplexer 302, a multiplexer selection device 306, an analog-to-digital converter 310, and a microcontroller 314.

The high side voltage measuring circuit 270 is electrically coupled to the high side driver circuit 80 and to the input port IN1_1 of the first analog multiplexer 301. The high side voltage measuring circuit 270 generates a high side voltage level signal (HS_VOLTAGE) corresponding to a high side voltage being applied to the contactor coil 232 of the contactor 70. The high side voltage level signal (HS_VOLTAGE) is received by the input port IN1_1 of the first analog multiplexer 301.

The low side current measuring circuit 274 is electrically coupled to the low side driver circuit 82, and is further electrically coupled to an input port IN2_2 of the second analog multiplexer 302. The low side current measuring circuit 274 generates a low side current level signal (LS_CURRENT) corresponding to an amount of electrical current flowing through the contactor coil 232 that is received by the input port IN2_2 of the second analog multiplexer 302.

The voltage clamping circuit 282 is electrically coupled to the voltage regulator 110, and is further electrically coupled to the input port IN2_1 of the first analog multiplexer 301. The voltage clamping circuit 282 receives the voltage (REG_3.3) from the voltage regular 110, and outputs a voltage (CLAMP_3.3) in response thereto that is received at the input port IN2_1 of the first analog multiplexer 301.

The voltage divider circuit 286 is electrically coupled to the voltage regulator 110, and is further electrically coupled to the input port IN3_2 of the second analog multiplexer 302. The voltage divider circuit 286 receives the voltage (REG_3.3) from the voltage regular 110, and outputs a voltage (VD_3.3) in response thereto that is received at the input port IN3_2 of the second analog multiplexer 302. The voltage (VD_3.3) is less than the voltage (REG_3.3).

The voltage divider circuit 294 is electrically coupled to the voltage regulator 112, and is further electrically coupled to the input port IN4_1 of the first analog multiplexer 301. The voltage divider circuit 294 receives the voltage (REG_5.0) from the voltage regular 112, and outputs a voltage (VD_5.0_1) in response thereto that is received at the input port IN4_1 of the first analog multiplexer 301. The voltage (VD_5.0_1) is less than the voltage (REG_5.0).

The voltage divider circuit 298 is electrically coupled to the voltage regulator 112, and is further electrically coupled to the input port IN4_2 of the second analog multiplexer 302. The voltage divider circuit 294 receives the voltage (REG_5.0) from the voltage regular 112, and outputs a voltage (VD_5.0_2) in response thereto that is received at the input port IN4_2 of the second analog multiplexer 302. The voltage (VD_5.0_2) is less than the voltage (REG_5.0).

The first analog multiplexer 301 is provided to selectively route one signal from one of the input ports IN1_1, IN2_1, IN3_1, IN4_1 to the output port OUT_1. The first analog multiplexer 301 has the input ports IN1_1, IN2_1, IN3_1, IN4_1, the output port OUT_1, a select port SEL_1, and address ports A0_1, A1_1, A2_1. The input port IN1_1 is electrically coupled to the high side voltage measuring circuit 270. The input port IN2_1 is electrically coupled to the voltage clamping circuit 282. The input port IN3_1 is electrically coupled to the voltage regulator 112. The input port IN4_1 is electrically coupled to the voltage divider circuit 294. The output port OUT_1 is electrically coupled to the input port AD_IN of the analog-to-digital converter 310. The address ports A0_1, A1_1, A2_1 are electrically coupled to the address ports A0, A1, A2, respectively, of the multiplexer selection device 306. The select port SEL_1 is electrically coupled to the select port SEL_1 of the multiplexer selection device 306.

When the multiplexer selection device 306 outputs a high logic level that is received at the select port SEL_1, the first analog multiplexer 301 is selected. Further, the multiplexer selection device 306 outputs the address signals A0, A1, A2 that is received at the address ports A0_1, A1_1, A2_1, respectively, to select one of the input ports IN1_1, IN2_1, IN3_1, IN4_1 in which to route an associated analog signal thereof to the output port OUT_1. For example, when the first analog multiplexer 301 and the input port IN1_1 is selected, the signal (HS_VOLTAGE) is routed from the input port IN1_1 to the output port OUT_1 and is further routed to the analog-to-digital converter 310. Further, the analog-to-digital converter 310 measures the signal (HS_VOLTAGE) and generates an associated voltage value that is received by the microcontroller 314.

The second analog multiplexer 302 is provided to selectively route one signal from one of the input ports IN1_2, IN2_2, IN3_2, IN4_2 to the output port OUT_2. The second analog multiplexer 302 has the input ports IN1_2, IN2_2, IN3_2, IN4_2, the output port OUT_2, a select port SEL_2, and address ports A0_2, A1_2, A2_2. The input port IN1_2 is electrically coupled to the voltage regulator 110. The input port IN2_2 is electrically coupled to the low side current measuring circuit 274. The input port IN3_2 is electrically coupled to the voltage divider circuit 286. The input port IN4_2 is electrically coupled to the voltage divider circuit 298. The output port OUT_2 is electrically coupled to the input port AD_IN of the analog-to-digital converter 310. The address ports A0_2, A1_2, A2_2 are electrically coupled to the address ports A0, A1, A2, respectively of the multiplexer selection device 306. The select port SEL_2 is electrically coupled to the select port SEL_1 of the multiplexer selection device 306.

When the multiplexer selection device 306 outputs a high logic level that is received at the select port SEL_2, the second analog multiplexer 302 is selected. Further, the multiplexer selection device 306 outputs the address signals A0, A1, A2 that is received at the address ports A0_2, A1_2, A2_2, respectively, to select one of the input ports IN1_2, IN2_2, IN3_2, IN4_2 in which to route an associated analog signal thereof to the output port OUT_2. For example, when the second analog multiplexer 302 and the input port IN1_2 is selected, the signal (REG_3.3) is routed from the input port IN1_2 to the output port OUT_2 and is further routed to the analog-to-digital converter 310. Further, the analog-to-digital converter 310 measures the signal (REG_3.3) and generates an associated voltage value that is received by the microcontroller 314.

The multiplexer selection device 306 is provided to select one of the first and second analog multiplexers 301, 302 at a time for routing a signal to the analog-to-digital converter 310, in response to a control signal from the microcontroller 314. The multiplexer selection device 306 includes a control port CT, a select port SEL_1, a selection port SEL_2, and address ports A0, A1, A2. The control port CT is electrically coupled to the microcontroller 314. The selection port SEL_1 is electrically coupled to the select port SEL_1 of the first analog multiplexer 301. The selection port SEL_2 is electrically coupled to the select port SEL_2 of the second analog multiplexer 302. The address ports A0, A1, A2 are electrically coupled to the address ports A0_1, A1_1, A2_1, respectively, of the first analog multiplexer 301 and to address ports A0_2, A1_2, A2_2, respectively, of the second analog multiplexer 302.

When the multiplexer selection device 306 receives a control signal from at the control port CT indicating a specific analog multiplexer to select and a specific port within the analog multiplexer to select, the multiplexer selection device 306 generates a high logic level at one of the select ports SEL_1, SEL_2, and corresponding signals in the address ports A0, A1, A2.

The analog-to-digital converter 310 has an input port AD_IN and an output port AD_OUT. The input port AD_IN is electrically coupled to an output port OUT_1 of the first analog multiplexer 301 and an output port OUT_2 of the second analog multiplexer 302. The output port AD_OUT is electrically coupled to the microcontroller 314. The analog-to-digital converter 310 measures a signal at the AD_IN input port and generates a value corresponding to a magnitude of the signal at the AD_IN input port that is output at the output port AD_OUT and is received by the microcontroller 314. In an exemplary embodiment, the analog-to-digital converter 310 is a single channel analog-to-digital converter.

The microcontroller 314 is programmed to monitor voltages utilizing the microprocessor 400 which executes software instructions stored in the memory device 402. The microprocessor 400 is operably coupled to the memory device 402, the analog-to-digital converter 310, the multiplexer selection device 306, the high side driver circuit 80, the low side driver circuit 82, and the voltage regulator 110. The microcontroller 314 outputs control signals that are received by the driver circuits 80, 82 for controlling the operation of the contactor 70. The memory device 402 stores data, tables, and the software applications described herein for implementing the methods described therein.

Referring to FIGS. 1A, 1B and 2-4, a flowchart of a diagnostic method for the vehicle electrical system 30 will now be explained. The diagnostic method includes a main application 500, a first diagnostic application 502, and a second diagnostic application 504. Further, the diagnostic method utilizes two signals REG_3.3 and CLAMP_3.3 therein.

Referring to FIGS. 1A, 1B and 2, the main application 500 will now be explained.

At step 520, the microcontroller 314 commands a high side driver circuit 80 and a low side driver circuit 82 to energize a contactor coil 232 to transition a contact 230 of a contactor 70 to a closed operational position. After step 520, the method advances to step 522.

At step 522, the voltage regulator 110 outputs a first voltage (e.g., REG_3.3) that is received by an input port (e.g., input port IN1_2) of a second analog multiplexer 302. After step 522, the method advances to step 524.

At step 524, the voltage clamping circuit 282 receives the first voltage from the voltage regulator 110 and outputs a second voltage (e.g., CLAMP_3.3) in response to the first voltage that is received by an input port (e.g., input port IN2_1) of a first analog multiplexer 301. After step 524, the steps 526, 528 are performed at substantially the same time utilizing a multi-threading technique.

At step 526, the microcontroller 314 executes a first diagnostic application 502.

At step 528, the microcontroller 314 executes a second diagnostic application 504.

Referring to FIGS. 1A, 1B and 3, the first diagnostic application 502 will now be explained.

At step 550, the first diagnostic application 502 commands a multiplexer selection device 306 to select the second analog multiplexer 302 and the input port (input port IN1_2) thereof at a first time such that an analog-to-digital converter 310 receives the first voltage (e.g., REG_3.3) from the output port OUT_2 of the second analog multiplexer 302 at the first time. After step 550, the method advances to step 552.

At step 552, the analog-to-digital converter 310 outputs a first voltage value based on the first voltage (e.g., REG_3.3) that is received by the first diagnostic application 502. After step 552, the method advances to step 554.

At step 554, the first diagnostic application 502 receives a second voltage value from the second diagnostic application 504. After step 554, the method advances to step 556.

At step 556, the first diagnostic application 502 determines a first difference value utilizing the following equation: first difference value=absolute value of (first voltage value−second voltage value). After step 556, the method advances to step 558.

At step 558, the first diagnostic application 502 makes a determination as to whether a first difference value is greater than a first threshold difference value, indicating that at least one of the first and second analog multiplexers 301, 302 is malfunctioning. If the value of step 558 equals “yes”, the method advances to step 560. Otherwise, the method returns to the main application 500.

At step 560, the first diagnostic application 502 commands the high side driver circuit 80 and the low side driver circuit 82 to transition the contact 230 of the contactor 70 to an open operational position. After step 560, the method returns to the main application 500.

Referring to FIGS. 1A, 1B and 4, the second diagnostic application 504 will now be explained.

At step 580, the second diagnostic application 504 commands the multiplexer selection device 306 to select the first analog multiplexer 301 and the input port (e.g., input port IN2_1) thereof at a second time such that the analog-to-digital converter 310 receives the second voltage (e.g., CLAMP_3.3) from the output port OUT_1 of the first analog multiplexer 301 at the second time. After step 580, the method advances to step 582.

At step 582, the analog-to-digital converter 310 outputs a second voltage value based on the second voltage that is received by the second diagnostic application 504. After step 582, the method advances to step 584.

At step 584, the second diagnostic application 504 receives the first voltage value from the first diagnostic application 502. After step 584, the method advances to step 586.

At step 586, the second diagnostic application 504 determines a second difference value utilizing the following equation: second difference value=absolute value of (first voltage value−second voltage value). After step 586, the method advances to step 588.

At step 588, the second diagnostic application 504 makes a determination as to whether the second difference value is greater than a first threshold difference value, indicating that at least one of the first and second analog multiplexers 301, 302 is malfunctioning. If the value of step 588 equals “yes”, the method advances to step 590. Otherwise, the method returns to the main application 500.

At step 590, the second diagnostic application 504 commands the high side driver circuit 80 and the low side driver circuit 82 to transition the contact 230 of the contactor 70 to the open operational position. After step 590, the method returns to the main application 500.

The diagnostic system described herein for a vehicle electrical system provides a substantial advantage over other systems. In particular, the diagnostic system described herein utilizes first and second diagnostic applications that can each transition a contactor to an open operational position if at least one of the first and second analog multiplexers are malfunctioning.

While the claimed invention has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the invention is not limited to such disclosed embodiments. Rather, the claimed invention can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate with the spirit and scope of the invention. Additionally, while various embodiments of the claimed invention have been described, it is to be understood that aspects of the invention may include only some of the described embodiments. Accordingly, the claimed invention is not to be seen as limited by the foregoing description. 

What is claimed is:
 1. A diagnostic system for a vehicle electrical system, the vehicle electrical system having a battery module, a contactor, a high side driver circuit, a low side driver circuit, and a voltage regulator; the voltage regulator outputting a first voltage, comprising: a voltage clamping circuit outputting a second voltage in response to the first voltage a first analog multiplexer having an input port receiving the second voltage from the voltage clamping circuit; a second analog multiplexer having an input port receiving the first voltage from the voltage regulator; an analog-to-digital converter being electrically coupled to an output port of the first analog multiplexer and an output port of the second analog multiplexer, the analog-to-digital converter being further electrically coupled to a microcontroller; the analog-to-digital converter receiving the first and second voltages at first and second times, respectively, and outputting first and second voltage values, respectively, based on the first and second voltages, respectively, that are received by a microcontroller; the microcontroller having a first diagnostic application and a second diagnostic application; the first diagnostic application receiving the first voltage value from the analog-to-digital converter, and the second voltage value from the second diagnostic application; the first diagnostic application determining a first difference value based on the first and second voltage values; and the first diagnostic application commanding the high side driver circuit and the low side driver circuit to transition a contact of the contactor to an open operational position when the first difference value is greater than a first threshold difference value indicating that at least one of the first and second analog multiplexers is malfunctioning.
 2. The diagnostic system of claim 1, wherein the first difference value is determined utilizing the following equation: the first difference value=absolute value of (the first voltage value−the second voltage value).
 3. The diagnostic system of claim 1, wherein: the second diagnostic application receiving the second voltage value from the analog-to-digital converter, and the first voltage value from the first diagnostic application; the second diagnostic application determining a second difference value based on the first and second voltage values; and the second diagnostic application commanding the high side driver circuit and the low side driver circuit to transition the contact of the contactor to the open operational position when the second difference value is greater than the first threshold difference value indicating that at least one of the first and second analog multiplexers is malfunctioning.
 4. The diagnostic system of claim 3, wherein the second difference value is determined utilizing the following equation: the second difference value=absolute value of (the first voltage value−the second voltage value).
 5. The diagnostic system of claim 1, wherein the analog-to-digital converter is a single-channel analog-to-digital converter.
 6. The diagnostic system of claim 1, wherein the contact being electrically coupled to and between the battery module and an electrical load, the high side driver circuit being electrically coupled to a high side end of a contactor coil of the contactor, the low side driver circuit being coupled to a low side end of the contactor coil.
 7. The diagnostic system of claim 1, wherein the first voltage is substantially 3.3 Vdc. 